package com.amin.sina;

import java.io.File;
import java.io.FileInputStream;

public class LogFileReader {
	private static String LOG_FILE_PATH = "E:" + File.separator + "logs";// 日志文件

	public static void main(String[] args) {
		File logFile = new File(LOG_FILE_PATH);
		File[] tempList = logFile.listFiles();
		for (int i = 0; i < tempList.length; i++) {
			if (tempList[i].isFile()) {
				System.out.println("文     件：" + tempList[i]);
			}
		}
	}
}
